<?php 
	require_once( 'constants/db_constants.php' );
	require_once( 'classes/dbaccess.php' );
	require_once( 'classes/membership.php' );
	
	$member = new Membership();
	if($member->CheckAddUser()) {
        	$member->CreateFileSystem();
		echo "{ success: true, msg: 'Signup Successfull!!' }";
    }
	else
		echo "{ success: false, msg: 'Username already exists! Try a different one' }";
?>
